package com._21cn.cms.yellow.dao.mybatis;

import com._21cn.cms.yellow.dao.YellowPageDao;
import com._21cn.cms.yellow.entity.YellowPage;
import com._21cn.framework.base.db.mybatis.BaseDaoMybatis;
import org.apache.ibatis.session.SqlSessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Required;
import org.springframework.stereotype.Repository;

@Repository("yellowPageDao")
public class YellowPageDaoMybatis extends BaseDaoMybatis<YellowPage>
        implements YellowPageDao
{
    public YellowPageDaoMybatis()
    {
        setNameSpace("t_cms_yellow_page");
    }
    @Required
    @Autowired
    @Qualifier("sqlSessionFactory")
    public void setSqlSessionFactory(SqlSessionFactory sqlSessionFactory) { super.setSqlSessionFactory(sqlSessionFactory); }

}